using System.Collections.Generic;

namespace SG.Sys.Console.CommandProcessing
{
    public interface ICommandHistory : IEnumerable<Entry>
    {
        int Add(Entry entry);
        int? SelectedIndex { get; set; }
        CommandParser Parser { get; }
        Entry SelectedOrLastEntry();
        Entry this[int index] { get; }
        void Up();
        void Down();
    }
}